{% extends "base.html" %}

{% block content %}
<div class="row justify-content-center">
    <div class="col-md-8">
        <div class="card">
            <div class="card-header bg-danger text-white">
                <h4 class="mb-0">服务器错误</h4>
            </div>
            <div class="card-body text-center">
                <h1 class="display-1">500</h1>
                <p class="lead">抱歉，服务器遇到了一个错误。</p>
                <p>我们已记录此问题并将尽快修复。请稍后再试。</p>
                <a href="{{ url_for('main.index') }}" class="btn btn-primary mt-3">返回首页</a>
            </div>
        </div>
    </div>
</div>
{% endblock %}